<?php

/**
 * Retrives Rating Option
 */
class AW_Imagetest_Model_System_Config_Source_Rating
{
    /**
     * Display and allow rating status
     */
    const STATUS_DISPLAY_AND_RATE = 2;

    /**
     * Display rating status
     */
    const STATUS_DISPLAY = 1;

    /**
     * Disable rating status
     */
    const STATUS_DISABLED = 0;

    /**
     * Array with params for Select element
     * @return array
     */
    public function toOptionArray()
    {
        return array(
            array('value' => self::STATUS_DISPLAY_AND_RATE, 'label' => 'Display and allow rating'),
            array('value' => self::STATUS_DISPLAY, 'label' => 'Display'),
            array('value' => self::STATUS_DISABLED, 'label' => 'Disabled'),
        );
    }
}
